package lab02.Test03;

public class Student {
    //属性
    float computerScore;
    float mathScore;
    float englishScore;
    //行为
    float sum(){
        return computerScore + mathScore + englishScore;
    }
    float average(){
        return(computerScore+mathScore+englishScore)/3;
    }
    float max(){
        return 10;
    }
    float min(){
        return 10;
    }
    void printStudent(){
        System.out.println("计算机成绩："+computerScore);
        System.out.println("数学成绩："+mathScore);
        System.out.println("英语成绩"+englishScore);
    }
    //构造函数
    //main函数
}
